
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <meta name="Keywords" content="" >
    <meta name="Description" content="" >
    <meta name="format-detection" content="telephone=no" />
    <title>遂川摇奖</title>
    <style>
        html,body{
            margin: 0;
            height: 100%;
            max-width: 620px;
            margin: 0 auto;
        }

        body{
            background-image: url(image/home/download_bg.jpg);
            background-repeat:no-repeat;
            background-size: 100%  100%;
            position: relative;
        }
        a{
            text-decoration: none;
			margin:0;
            padding:0;
        }

        .main>a:active{
            transform: scale(0.95, 0.95);
        }
        .main>a{
			float:left;
            width: 50%;
            margin-left: 25%;
        }
        .main>a>img{
            width: 100%;
        }
        .main{
            position: relative;
            top: 70%;
            padding-top: 1px;
        }
    </style>
</head>

<body>


<script>
    function _IsAndroid() {
        var ua = navigator.userAgent.toLowerCase();
        if (ua.match(/Android/i) == "android") {
            return true;
        } else {
            return false;
        }
    }

    function is_weixin(){
        var ua = window.navigator.userAgent.toLowerCase();
        if(ua.match(/MicroMessenger/i) == 'micromessenger'){
            return true;
        }else{
            return false;
        }
    }

    function _IsIOS() {
    var ua = navigator.userAgent.toLowerCase();
    if (ua.match(/iPhone\sOS/i) == "iphone os" || ua.match(/ipad/)== "ipad") {
        return true;
    } else {
        return false;
    }
}

</script>
<div class="main" id="main_div">
    <a href="" id='aa'>
        <img src="image/home/android_btm.png" alt="" id="imgimg">
    </a>
   
    <script type="text/javascript">
        window.onload=function(){

            var u = navigator.userAgent;
            var a=document.getElementById('imgimg');
            var i=document.getElementById('aa');

            i.setAttribute('href','apk/SuiChuanYaoJiang.apk');
            // document.getElementById('main_div').style.top = '70%';
        }
    </script>    
</div>

</body>
</html>
